Transforming application cached template using personalized content

ABSTRACT

Mechanisms are provided to implement a customizable mobile application utilizing a local template to personalize data. In one example, a local client application on a mobile device automatically changes the local content by utilizing a locally cached template and REST service supported by a remote application. In another example, the template further supports multiple phases of personalization.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is related to commonly-owned, co-pending U.S.patent application Ser. No. 13/801,830 entitled, “MOBILE ENABLEMENT OFEXISTING WEB SITES”, filed Mar. 13, 2013; U.S. patent application Ser.No. 13/801,820 entitled, “MOBILE ENABLEMENT OF WEB PAGES”, filed on Mar.13, 2013; U.S. patent application Ser. No. 13/801,848 entitled,“MOBILIZING A WEB APPLICATION TO TAKE ADVANTAGE OF A NATIVE DEVICECAPABILITY”, filed on Mar. 13, 2013; and U.S. patent application Ser.No. 13/801,892 entitled, “ENHANCED MOBILIZATION OF EXISTING WEB SITES”,filed on Mar. 13, 2013, the entire contents and disclosures of which areexpressly incorporated by reference herein as if fully set forth herein.

BACKGROUND

The present disclosure relates generally to an environment where anapplication has cached hyper text markup language (HTML), cascadingstyle sheets (CSS) and/or JavaScript in support of providing a lowlatency rich user environment including interactions with a backendserver for dynamic content and Representational State Transfer (REST)requests.

In such an environment, the application is typically installed with avariety of HTML, extensible markup language (XML), extensible hypertextmarkup language (XHTML), CSS, JavaScript, images, and otherdocuments—helping provide a desired web experience. However, aconventional application will typically be installed with anon-personalized set of artifacts (that is, resources). The applicationis then limited as to what kind of user experience it can provide.

Other systems (such as those utilized by developers buildingapplications based on PHONEGAP™) also bundle local web artifacts onmobile devices while making REST calls to remote services for dynamic orreal time data.

SUMMARY

In one example, the present disclosure relates to the field oftransforming cached templates for personalized use.

In one specific example, one or more systems may provide forautomatically transforming cached templates for personalized use. Inanother example, one or more methods may provide for automaticallytransforming cached templates for personalized use. In another example,one or more algorithms may provide for automatically transforming cachedtemplates for personalized use.

In one embodiment, a computer readable storage medium, tangiblyembodying a program of instructions executable by the computer forproviding a template to be personalized by a mobile device incooperation with a server is provided, the program of instructions, whenexecuting, performing the following steps: generating the templateincluding local content; identifying in the template at least onelocation where a placeholder is to be added to indicate where dynamiccontent is to be inserted; adding the placeholder at the identifiedlocation in the template; and generating one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder by the mobile device in cooperation with the server.

In another embodiment, a method for providing a template to bepersonalized by a mobile device in cooperation with a server isprovided, the method comprising: generating, by a processor, thetemplate including local content; identifying in the template, by theprocessor, at least one location where a placeholder is to be added toindicate where dynamic content is to be inserted; adding theplaceholder, by the processor, at the identified location in thetemplate; and generating, by the processor, one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder in cooperation with the server.

In another embodiment, a computer-implemented system for providing atemplate to be personalized by a mobile device in cooperation with aserver is provided, the system comprising: a template generating elementconfigured to generate the template including local content; anidentifying element configured to identify in the template at least onelocation where a placeholder is to be added to indicate where dynamiccontent is to be inserted; an adding element configured to add theplaceholder at the identified location in the template; and a servicesgenerating element configured to generate one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder by the mobile device in cooperation with the server.

BRIEF DESCRIPTION OF THE DRAWINGS

Various objects, features and advantages of the present invention willbecome apparent to one skilled in the art, in view of the followingdetailed description taken in combination with the attached drawings, inwhich:

FIG. 1 depicts a flowchart of a method according to an embodiment.

FIG. 2 depicts a diagram showing interaction between a mobile device anda server according to an embodiment.

FIGS. 3A-3C depict various diagrams showing an example implementation ofoperation according to an embodiment.

FIG. 4 depicts a block diagram of a system according to an embodiment.

FIG. 5 depicts a block diagram of a system according to an embodiment.

FIG. 6 depicts a flowchart of a method according to an embodiment.

FIG. 7 depicts a block diagram of a system according to an embodiment.

DETAILED DESCRIPTION

The present disclosure relates generally to implementing a customizablemobile application utilizing a local template to personalize data. Inone example, a local client application on a mobile device automaticallychanges the local content by utilizing a locally cached template andREST service supported by a remote application. In another example, thetemplate further supports multiple phases of personalization.

For the purposes of describing and claiming the present invention theterm “mobile device” is intended to refer to a device that cancommunicate data (e.g., receive, transmit) over a network and can becarried by a user. Examples include (but are not limited to): a mobilephone, a cellular phone, a smart phone, and/or a tablet.

For the purposes of describing and claiming the present invention theterm “webpage” is intended to refer to the content shown in a userinterface screen displayed by a web browser.

Referring now to FIG. 1, a method for providing information to bedisplayed in a user interface of a device (e.g., a mobile device),wherein the device comprises a processor, is shown. As seen in this FIG.1, the method of this embodiment comprises: at 101—obtaining, by theprocessor, a template of a graphical user interface; at 103—storing, bythe processor, the template locally at the device; at 105—receiving, bythe processor, data that is input to the device; at 107—obtaining from aserver by the processor, based at least in part upon the data, a set ofinstructions comprising at least one customization to the template; at109—applying, by the processor, the customization to the stored templateto generate a customized graphical user interface; and at111—displaying, by the processor, the customized graphical userinterface in the user interface of the device.

In one example, the applying the customization may comprise hardcodingthe customization into HTML code. In another example, the applying thecustomization may comprise embedding the customization into HTML code.In another example, the applying the customization may comprise savingdata in a separate document to be merged with the template (e.g., HTMLdocument) when rendered.

In another example, the customized graphical user interface may be saved(e.g., by being stored on the device). In one specific example, thecustomized graphical user interface may be saved in the form of an HTMLdocument. In another specific example, the customized graphical userinterface may be saved in the form of a template document. In onespecific example, the customized graphical user interface may be savedin the form of a GUI document.

In another example, the above steps may be carried out in the orderrecited or the steps may be carried out in another order.

Referring now to FIG. 2, a diagram showing interaction between a mobiledevice 201 and a server 203 according to an embodiment is shown. Asseen, at (1) the mobile device makes a request for a template of agraphical user interface. At (2) the server responds with the template.At (3) the mobile device stores the template locally at the device(e.g., in a memory such as a solid state memory). At (4) data is inputto the device (see, e.g., manually by a user and/or automatically by acomponent of the device (e.g., a GPS)). At (5) the device transmits thedata (and/or other information based upon the data) to the server. At(6) the sever responds with a set of instructions (based at least inpart upon the data and/or the other information), comprising at leastone customization to the template. At (7) the device applies thecustomization to the stored template to generate a customized graphicaluser interface. At (8) the device displays the customized graphical userinterface in a user interface of the device.

In one example, the above steps may be carried out in the order recitedor the steps may be carried out in another order.

In another example, communication between the mobile device and theserver of FIG. 2 may be carried out via the Internet, an intranet, alocal area network, a wide area network and/or any other desiredcommunication channel(s). In another example, some or all of thesecomponents may be implemented in a computer system of the type shown inFIG. 5.

Referring now to FIGS. 3A-3C, an example implementation of operationaccording to one embodiment is shown. More particularly, with referencefirst to FIG. 3A, a mobile device 300 including a default,unpersonalized graphical user interface 301 (which is an example of a“template” as used herein) displaying information for a fictional retailstore is shown (in one example, the graphical user interface may be partof a stand-alone mobile app; in another example, the graphical userinterface may be part of a web browser). As seen, the example graphicaluser interface is directed to a search functionality and has variouscontent, including header section 303 and my store selection section305. These sections and this graphical user interface are, of course,provided as examples only, and any desired graphical user interface(s)and/or section(s) may be provided.

Referring now to FIG. 3B, it is seen that after geo-location data hasbeen input to the device, after the geo-location data has been sent to aserver and after the server has responded with customizationinstructions (see, e.g., FIG. 2 at steps (4)-(6)), the store selectionsection 305′ of the graphical user interface (which corresponds to thestore selection section 305 of FIG. 3A) is personalized (see, e.g.,steps (7)-(8) of FIG. 2) with “My Store” information (in this example,“Raleigh). In one specific example, the geo-location data may be inputto the device manually by a user (e.g., by entering city, zipcode or thelike). In another example, the geo-location data may be input to thedevice automatically via an integrated GPS or other appropriatemechanism (e.g., base station identification). In another example, thegraphical user interface transformation may be accomplished by sendingthe server the geo-location data in an Extensible Stylesheet LanguageTransformations (XSLT) format.

In one example, the default, unpersonalized graphical user interface 301of FIG. 3A may be displayed first (e.g., before geo-location data hasbeen input), followed by the customized graphical user interface of FIG.3B (e.g., after geo-location data has been input). In another example,the customized graphical user interface of FIG. 3B is displayed insteadof the default, unpersonalized graphical user interface 301 of FIG. 3A.

Referring now to FIG. 3C, it is seen that additional personalization maybe performed. In particular, in this example, it is seen that afterlog-in credentials have been input to the device, after the log-incredentials have been sent to server and after the server has respondedwith additional customization instructions, the header section 303′ ofthe graphical user interface (which corresponds to the header section303 of FIG. 3A) is personalized with greeting information (in thisexample, “Hello, John”). In one specific example, the log-in credentialsmay be input to the device manually by a user. In another example, thegraphical user interface transformation may be accomplished by sendingthe server the log-in credentials in an XSLT format.

Referring now to FIG. 4, a computer-implemented system 400 for providinginformation to be displayed in a user interface of a device is provided.This system may include the following elements: a receiving element 401configured to receive data that is input to the device; an obtainingelement 403 configured to obtain from a server: (a) a template of agraphical user interface; and (b) based at least in part upon the data,a set of instructions comprising at least one customization to thetemplate; a storing element 405 in operative communication with theobtaining element configured to store the template locally at thedevice; a customization element 407 in operative communication with theobtaining element configured to apply the customization to the storedtemplate to generate a customized graphical user interface; and adisplaying element 409 in operative communication with the customizationelement configured to display the customized graphical user interface inthe user interface of the device.

In one example, the receiving element is further configured to receiveadditional data that is input to the device; the obtaining element isfurther configured to obtain from the server, based at least in partupon the additional data, an additional set of instructions comprisingat least one additional customization to the stored template; thecustomization element is further configured to apply the additionalcustomization to the stored template to generate an additionalcustomized graphical user interface; and the displaying element isfurther configured to display the additional customized graphical userinterface in the user interface of the device.

In another example, communication between and among the variouscomponents of FIG. 4 may be bi-directional. In another example, thecommunication may be carried out via the Internet, an intranet, a localarea network, a wide area network and/or any other desired communicationchannel(s). In another example, each of the components may beoperatively connected to each of the other components. In anotherexample, some or all of these components may be implemented in acomputer system of the type shown in FIG. 5.

Referring now to FIG. 5, this figure shows a hardware configuration ofcomputing system 500 according to an embodiment of the presentinvention. As seen, this hardware configuration has at least oneprocessor or central processing unit (CPU) 511. The CPUs 511 areinterconnected via a system bus 512 to a random access memory (RAM) 514,read-only memory (ROM) 516, input/output (I/O) adapter 518 (forconnecting peripheral devices such as disk units 521 and tape drives 540to the bus 512), user interface adapter 522 (for connecting a keyboard524, mouse 526, speaker 528, microphone 532, and/or other user interfacedevice to the bus 512), a communications adapter 534 for connecting thesystem 500 to a data processing network, the Internet, an Intranet, alocal area network (LAN), etc., and a display adapter 536 for connectingthe bus 512 to a display device 538 and/or printer 539 (e.g., a digitalprinter or the like).

As described herein, mechanisms are provided which allow local HTMLcontent to be personalized using locally cached templates (thepersonalization may be accomplished, for example, using information thatis provided by an external set of data). In various example, the localapplication (e.g., HTML application) being accessed will allow for someinput such as entering geo-location data (e.g., address, zip code, etc),entering login credentials, and/or other types of information which mayinfluence the preferences of the user of the application (such as sportsteams, food preferences, etc.). The local application will then contacta remote server with the input data (and potentially other variableslike application version) and be provided back one or morecustomizations to be made to the local HTML. The application will thenapply the customizations to the HTML transforming the HTML into a newpersonalized webpage or website.

In one specific example, the transformations could be done using XSLT(and/or any other appropriate technologies).

In another specific example, multiple transformations can occur on agiven template (e.g., set of HTML) over time. In another specificexample, each template associated with each of the multipletransformations may be saved. In another specific example, the templateassociated with the final one of the multiple transformations may besaved. In another specific example, the transformations can be reversed(e.g., if information is cleared and/or an event like a logout occurs).

In another specific example, some applications may keep the transformedpersonalized content only in short-term volatile memory (as opposed tolong-term non-volatile memory) in cases where a logout is required eachtime.

In another example, a method for converting an existing web applicationto a mobile application comprises: converting a web application to amobile web application by parsing and separating the web applicationinto static content and a dynamic content with data sources; renderingthe static content as hypertext markup language (HTML) pages with thelinks between the HTML pages converted to local links and references todynamic content changed to Representational State Transfer (REST)requests; utilizing a mobile gateway on a remote server for accessingthe dynamic content with the data sources; converting a section of awebpage for the mobile web application into a set of separate webpages(views); packaging the views into the mobile web application; andinstalling the mobile web application on a mobile device.

In another example, a series of templates may be provided. Each templatemay have one or more placeholders to indicate where dynamic contentcould be inserted by one or more REST interfaces (see, e.g., 305′ and303′ of FIG. 3C showing placeholders for the geo-location and useridentity fields).

In one specific example, there are a finite number of templates in theweb space that satisfy the vast majority of websites. Templates may beprovided for the most common mobile user cases and based upon thecustomizations (e.g., the dynamic content placeholders) provide holdingplaces for retrieving RESTful data from the enterprise services.

In another example, in order to create a personalization template,tooling is provided that allows personalization placeholder(s) to beentered, a template created, and one or more REST services to begenerated which provide personalized data.

As described herein, an example of what is meant by “tooling” is agraphical software tool that provides a “What you see is what you get”type of development experience. Using such tools you can, for example,point to an existing web site and drag and drop the components/widgetsof the page to form a “mobile view”. Once you have this, you can thendecide, for example, which parts can be deemed dynamic and would requirethe developer to connect to a server to get the data (userid of a userwould be one example).

In one example, the dynamic aspects may be identified (e.g.,automatically by the tooling) by the syntax defined by JSPs (similarnotions exist in PHP as well). For example, the JSP tag <% %> allows theinsertion of scripts (or code snippets) and the <%=%> tag allows theoutput of dynamic content. These hints may be used to automaticallyextract out these elements and generate a RESTful service.

In another specific example, a template for providing transformationswith an application that works with personalized content may beprovided. In one specific example, an implementation may be as follows:(1) Automatically generating the template based on some introspection ofthe content changes which will occur after personalization data isentered; (2) Automatically generating a REST service which provides thepersonalized data needed for the template to provide thetransformations; (3) Providing a client application infrastructure whichautomatically transforms HTML content into personalized content usingthe template; (4) Providing (e.g., the infrastructure) with policieswhich allow the personalized content to be persisted, kept for a singlesession only, and/or to be available for a set amount of time.

In another specific example, templates may be provided which allow formultiple phases of personalization to occur including (but not limitedto): log-in credentials, geo-location, sports team preferences, foodpreferences, new topic preferences, product brand preferences, and/orproduct shipping preferences.

In another specific example, an infrastructure may be provided that willallow for multiple phases of personalization to be applied and/orremoved.

In another specific example, an implementation may be as follows: Step1: User utilizes tooling to prepackage web artifacts into an application(in this example, the application is a mobile retail store). Step 2:User either generates a template or uses the tooling to generate thetemplate based on a running web application (e.g., in the form ofdefault HTML). For the purposes of this example, it will be assumed thata running web application was accessed remotely and that the tooling isused to generate the template and REST service(s). Step 3: Tooling isused to capture changes which occur for each personalized contentaddition (for example, geo-location is added and a template is createdfor when geo-location data is provided in order to personalize what isavailable in local stores; another example is that the user may log-inwhich allows the user to have a new button for “my orders” in additionto adding shipping preferences to the cart.) These personalizationdifferences are used to create templates which help transform thegeneric default web artifacts to personalized ones. Step 4: The toolinghelps generate REST service(s) for each template's personalized data.The tooling allows the user to optimize how this data is fetched (e.g.,rather than fetching the data from a web generated request). Step 5:Each of the template(s) are bundled in the application with thetransformation infrastructure. Policies are set as to how longpersonalization information will be kept. Step 6: The application isprovided to customers. Step 7: When the application is loaded, it wouldinitially come up with the default non-transformed unpersonalized data(and then personalization would be applied as described herein).

As described herein, a method (and associated system and algorithm) areprovided for transforming a local application having local content intotransformed content from a remote application (e.g., external source,server, cloud source) utilizing local templates. The method of oneexample comprises: providing a template for transforming local contentto personalized content for a local (e.g., client) application;generating REST services needed for the template to transform thecontent; providing a client application infrastructure whichautomatically changes the local context utilizing the template and theREST services supported by a remote application; and utilizing theclient application infrastructure to transform the local application toutilize the personalized content.

Referring now to FIG. 6, a method for providing a template to bepersonalized by a mobile device in cooperation with a server is shown.As seen in this FIG. 6, the method of this embodiment comprises: at601—generating, by a processor, the template including local content; at603—identifying in the template, by the processor, at least one locationwhere a placeholder is to be added to indicate where dynamic content isto be inserted; at 605—adding the placeholder, by the processor, at theidentified location in the template; and at 607—generating, by theprocessor, one or more representational state transfer services to beused to apply the dynamic content to the placeholder in cooperation withthe server.

In another example, the above steps may be carried out in the orderrecited or the steps may be carried out in another order.

Referring now to FIG. 7, a computer-implemented system 700 for providinga template to be personalized by a mobile device in cooperation with aserver is provided. This system may include the following elements: atemplate generating element 701 configured to generate the templateincluding local content; an identifying element 703 configured toidentify in the template at least one location where a placeholder is tobe added to indicate where dynamic content is to be inserted; an addingelement 705 configured to add the placeholder at the identified locationin the template; and a services generating element 707 configured togenerate one or more representational state transfer services to be usedto apply the dynamic content to the placeholder by the mobile device incooperation with the server.

Further, as seen, the system 700 may include receiving element 709 forreceiving data. In one specific example, the receiving element receivesone or more existing webpages. In another specific example, the receivedwebpage(s) may be used as a basis for generating one or more templates.

In addition, as seen, the system 700 may include output element 711 foroutputting data. In one specific example, the output element outputs oneor more templates and/or one or more services (e.g., REST services).

In another example, communication between and among the variouscomponents of FIG. 7 may be bi-directional. In another example, thecommunication may be carried out via the Internet, an intranet, a localarea network, a wide area network and/or any other desired communicationchannel(s). In another example, each of the components may beoperatively connected to each of the other components. In anotherexample, some or all of these components may be implemented in acomputer system of the type shown in FIG. 5.

In one specific example, the local content is selected from a groupincluding (but not limited to): HTML, CSS, and/or JavaScript.

In another specific example, the template is generated based onpersonalization data entered by a user.

In another specific example, the template further comprises: supportingmultiple phases of personalization selected from a group including (butnot limited to): login credentials, geo-location, sports teampreferences, food preferences, new topic preferences, product brandpreferences, and/or product shipping preferences.

In another specific example, mechanisms may be provided for supporting apolicy for handling personalized data selected from a group including(but not limited to): persistent, single session, and persistent for anelapsed time.

As described herein, fetching of data from a remote server may be usedto customize a local application (e.g., transforming local applicationcontent into personalized content based upon instruction(s) which arefetched from an external server).

In one specific example, mechanisms may be provided for transformingapplication cached HTML into personalized content.

As described herein, various embodiments may be provided in the contextof WEBSPHERE.

As described herein, various embodiments may be provided in the contextof dynamic aggregation and personalization.

As described herein, various mechanisms may provide for: (a) local HTMLtransformations for personalization; (b) mobile HTML transformations forpersonalization; (c) personalizing cached HTML content; (d)personalizing stored HTML content; (e) personalization throughtransformation of HTML content; and/or (f) personalization throughtransformation of cached HTML content.

As described herein, various embodiments may be provided in the contextof: (a) Converged Communications Mobile applications; (b) Software:Application development software; (c) Software: Application servermiddleware; (d) Web technology: Content management and use; (e) Webtechnology: Pervasive; and/or (f) Web technology: Wireless.

As described herein, mechanisms are provided to enable a user to changea user interface of one or more HTML pages using one or more templates.

As described herein, mechanisms are provided to enable a server toprovide to a device (e.g., a mobile device) a list of transformationsthat can be run on one or more HTML pages. In one specific example, oneor more RESTful services may be run on the one or more HTML pages.

In one embodiment, a computer readable storage medium, tangiblyembodying a program of instructions executable by a device for providinginformation to be displayed in a user interface of the device isprovided, the program of instructions, when executing, performing thefollowing steps: obtaining a template of a graphical user interface;storing the template locally at the device; receiving data that is inputto the device; obtaining from a server, based at least in part upon thedata, a set of instructions comprising at least one customization to thetemplate; applying the customization to the stored template to generatea customized graphical user interface; and displaying the customizedgraphical user interface in the user interface of the device.

In one example, the graphical user interface is provided in one or moreof: (a) a mobile app; or (b) a web browser; or (c) a combinationthereof.

In another example, the template is received from the server.

In another example, the template is received from the server after arequest for the template is transmitted to the server from the device.

In another example, the set of instructions is received from the server.

In another example, the set of instructions is received from the serverafter a request for the set of instructions is transmitted to the serverfrom the device.

In another example, the data comprises input from a user.

In another example, the data comprises input from a component of thedevice.

In another example, the component of the device comprises a GPSreceiver.

In another example, the set of instructions comprises a plurality ofinstructions.

In another example, the set of instructions comprises a singleinstruction.

In another example, the at least one customization comprises a pluralityof customizations.

In another example, the at least one customization comprises a singlecustomization.

In another example, the program of instructions, when executing, furtherperforms the steps of: receiving additional data that is input to thedevice; obtaining from the server, based at least in part upon theadditional data, an additional set of instructions comprising at leastone additional customization to the template; applying the additionalcustomization to the stored template to generate an additionalcustomized graphical user interface; and displaying the additionalcustomized graphical user interface in the user interface of the device.

In another example, the data is transmitted to the server from thedevice in order to obtain the set of instructions from the server.

In another example, the device comprises a mobile device.

In another embodiment, a method for providing information to bedisplayed in a user interface of a device is provided, wherein thedevice comprises a processor, the method comprising: obtaining, by theprocessor, a template of a graphical user interface; storing, by theprocessor, the template locally at the device; receiving, by theprocessor, data that is input to the device; obtaining from a server bythe processor, based at least in part upon the data, a set ofinstructions comprising at least one customization to the template;applying, by the processor, the customization to the stored template togenerate a customized graphical user interface; and displaying, by theprocessor, the customized graphical user interface to in the userinterface of the device.

In one example, the device comprises a mobile device.

In another embodiment, a computer-implemented system for providinginformation to be displayed in a user interface of a device is provided,the system comprising: a receiving element configured to receive datathat is input to the device; an obtaining element configured to obtainfrom a server: (a) a template of a graphical user interface; and (b)based at least in part upon the data, a set of instructions comprisingat least one customization to the template; a storing element inoperative communication with the obtaining element configured to storethe template locally at the device; a customization element in operativecommunication with the obtaining element configured to apply thecustomization to the stored template to generate a customized graphicaluser interface; and a displaying element in operative communication withthe customization element configured to display the customized graphicaluser interface in the user interface of the device.

In one example: the receiving element is further configured to receiveadditional data that is input to the device; the obtaining element isfurther configured to obtain from the server, based at least in partupon the additional data, an additional set of instructions comprisingat least one additional customization to the stored template; thecustomization element is further configured to apply the additionalcustomization to the stored template to generate an additionalcustomized graphical user interface; and the displaying element isfurther configured to display the additional customized graphical userinterface in the user interface of the device.

In another example, the device comprises a mobile device.

In one embodiment, a computer readable storage medium, tangiblyembodying a program of instructions executable by the computer forproviding a template to be personalized by a mobile device incooperation with a server is provided, the program of instructions, whenexecuting, performing the following steps: generating the templateincluding local content; identifying in the template at least onelocation where a placeholder is to be added to indicate where dynamiccontent is to be inserted; adding the placeholder at the identifiedlocation in the template; and generating one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder by the mobile device in cooperation with the server.

In one example, the local content is selected from one or more of: (a)HTML; (b) CSS; (c) JavaScript; and (d) any combination thereof.

In another example, the template supports multiple phases ofpersonalization selected from one or more of: (a) login credentials; (b)geo-location; (c) sports team preferences; (d) food preferences; (e) newtopic preferences; (f) product brand preferences; (g) product shippingpreferences; and (h) any combination thereof.

In another example, the template is provided to the mobile device in oneor more of: (a) a mobile app; or (b) a web browser; or (c) a combinationthereof.

In another example, the template is received from the server.

In another example, the template is received from the server after arequest for the template is transmitted to the server from the mobiledevice.

In another example, the dynamic content is based at least in part uponinput from a user.

In another example, the dynamic content is based at least in part uponinput from a component of the mobile device.

In another example, the component of the mobile device comprises a GPSreceiver.

In another embodiment, a method for providing a template to bepersonalized by a mobile device in cooperation with a server isprovided, the method comprising: generating, by a processor, thetemplate including local content; identifying in the template, by theprocessor, at least one location where a placeholder is to be added toindicate where dynamic content is to be inserted; adding theplaceholder, by the processor, at the identified location in thetemplate; and generating, by the processor, one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder in cooperation with the server.

In one example, the local content is selected from one or more of: (a)HTML; (b) CSS; (c) JavaScript; and (d) any combination thereof.

In another example, the template supports multiple phases ofpersonalization selected from one or more of: (a) login credentials; (b)geo-location; (c) sports team preferences; (d) food preferences; (e) newtopic preferences; (f) product brand preferences; (g) product shippingpreferences; and (h) any combination thereof.

In another example, the template is provided to the mobile device in oneor more of: (a) a mobile app; or (b) a web browser; or (c) a combinationthereof.

In another example, the template is received from the server.

In another example, the template is received from the server after arequest for the template is transmitted to the server from the mobiledevice.

In another example, the dynamic content is based at least in part uponinput from a user.

In another example, the dynamic content is based at least in part uponinput from a component of the mobile device.

In another example, the component of the mobile device comprises a GPSreceiver.

In another embodiment, a computer-implemented system for providing atemplate to be personalized by a mobile device in cooperation with aserver is provided, the system comprising: a template generating elementconfigured to generate the template including local content; anidentifying element configured to identify in the template at least onelocation where a placeholder is to be added to indicate where dynamiccontent is to be inserted; an adding element configured to add theplaceholder at the identified location in the template; and a servicesgenerating element configured to generate one or more representationalstate transfer services to be used to apply the dynamic content to theplaceholder by the mobile device in cooperation with the server.

In one example, the local content is selected from one or more of: (a)HTML; (b) CSS; (c) JavaScript; and (d) any combination thereof.

In another example, the template supports multiple phases ofpersonalization selected from one or more of: (a) login credentials; (b)geo-location; (c) sports team preferences; (d) food preferences; (e) newtopic preferences; (f) product brand preferences; (g) product shippingpreferences; and (h) any combination thereof.

In another example, the template is provided to the mobile device in oneor more of: (a) a mobile app; or (b) a web browser; or (c) a combinationthereof.

In another example, the template is received from the server.

In another example, the template is received from the server after arequest for the template is transmitted to the server from the mobiledevice.

In another example, the dynamic content is based at least in part uponinput from a user.

In another example, the dynamic content is based at least in part uponinput from a component of the mobile device.

In another example, the component of the mobile device comprises a GPSreceiver.

In other examples, any steps described herein may be carried out in anyappropriate desired order.

Another example related to REST operation is as follows. There are theclient side API calls that are in javascript form and the server side(hosted where the original JSPS were located) that host the RESTservices that communicate with the databases and other enterprise dataservices.

As will be appreciated by one skilled in the art, aspects of the presentinvention may be embodied as a system, method or computer programproduct. Accordingly, aspects of the present invention may take the formof an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.) or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module” or “system.”Furthermore, aspects of the present invention may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), an optical fiber,a portable compact disc read-only memory (CD-ROM), an optical storagedevice, a magnetic storage device, or any suitable combination of theforegoing. In the context of this document, a computer readable storagemedium may be any tangible medium that can contain, or store a programfor use by or in connection with an instruction execution system,apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations for aspects of thepresent invention may be written in any programming language or anycombination of one or more programming languages, including an objectoriented programming language such as Java, Smalltalk, C++ or the likeor a procedural programming language, such as the “C” programminglanguage or similar programming languages. The program code may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider).

Aspects of the present invention may be described herein with referenceto flowchart illustrations and/or block diagrams of methods, systemsand/or computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer program instructions. These computer program instructions maybe provided to a processor of a general purpose computer, specialpurpose computer, or other programmable data processing apparatus toproduce a machine, such that the instructions, which execute via theprocessor of the computer or other programmable data processingapparatus, create means for implementing the functions/acts specified inthe flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus or other devices provideprocesses for implementing the functions/acts specified in the flowchartand/or block diagram block or blocks.

The flowcharts and block diagrams in the figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowcharts or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some implementations, the functions noted in the block mayoccur out of the order noted in the figures. For example, two blocksshown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustrations,and combinations of blocks in the block diagrams and/or flowchartillustrations, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

It is noted that the foregoing has outlined some of the objects andembodiments of the present invention. This invention may be used formany applications. Thus, although the description is made for particulararrangements and methods, the intent and concept of the invention issuitable and applicable to other arrangements and applications. It willbe clear to those skilled in the art that modifications to the disclosedembodiments can be effected without departing from the spirit and scopeof the invention. The described embodiments ought to be construed to bemerely illustrative of some of the features and applications of theinvention. Other beneficial results can be realized by applying thedisclosed invention in a different manner or modifying the invention inways known to those familiar with the art. In addition, all of theexamples disclosed herein are intended to be illustrative, and notrestrictive.

What is claimed is:
 1. A computer readable storage medium, tangiblyembodying a program of instructions executable by a server for providinga template to be personalized by a mobile device in cooperation with theserver, the program of instructions, when executing, performing thefollowing steps: receiving from the mobile device a request for thetemplate; generating the template including local content; identifyingin the template at least one location where a placeholder is to be addedto indicate where dynamic content is to be inserted; adding theplaceholder at the identified location in the template; sending to themobile device the template, wherein the template is stored at the mobiledevice; receiving from the mobile device data; generating based at leastin part upon the data received from the mobile device one or morerepresentational state transfer services; sending to the mobile devicethe one or more representational state transfer services to be used bythe mobile device to apply the dynamic content to the placeholder of thestored template in cooperation with the server in order to provide apersonalized template for generating a customized graphical userinterface; and storing, in cases where a logout is required each time,the personalized template in a volatile memory of the mobile devicewithout storing the personalized template in a non-volatile memory ofthe mobile device.
 2. The computer readable storage medium of claim 1,wherein the local content is selected from one or more of: (a) HTML; (b)CSS; (c) JavaScript; and (d) any combination thereof.
 3. The computerreadable storage medium of claim 1, wherein the template supportspersonalization based on geo-location.
 4. The computer readable storagemedium of claim 1, wherein the template is sent to the mobile device inone or more of: (a) a mobile app; (b) a web browser; and (c) acombination thereof.
 5. The computer readable storage medium of claim 1,wherein the dynamic content is based at least in part upon input from auser.
 6. The computer readable storage medium of claim 1, wherein thedynamic content is based at least in part upon input from a component ofthe mobile device.
 7. The computer readable storage medium of claim 6,wherein the component of the mobile device comprises a GPS receiver. 8.The computer readable storage medium of claim 1, wherein the templatesupports personalization based on login credentials.
 9. The computerreadable storage medium of claim 1, wherein the template supportspersonalization based on sports team preferences.
 10. The computerreadable storage medium of claim 1, wherein the template supportspersonalization based on food preferences.
 11. The computer readablestorage medium of claim 1, wherein the template supports personalizationbased on new topic preferences.
 12. The computer readable storage mediumof claim 1, wherein the template supports personalization based onproduct brand preferences.
 13. The computer readable storage medium ofclaim 1, wherein the template supports personalization based on productshipping preferences.
 14. A computer-implemented system for providing atemplate to be personalized by a mobile device in cooperation with aserver, the system comprising: a processor; and a memory storingcomputer readable instructions that, when executed by the processor,implement: receiving from the mobile device a request for the template;generating the template including local content; identifying in thetemplate at least one location where a placeholder is to be added toindicate where dynamic content is to be inserted; adding the placeholderat the identified location in the template; sending to the mobile devicethe template, wherein the template is stored at the mobile device;receiving from the mobile device data; generating based at least in partupon the data received from the mobile device one or morerepresentational state transfer services; sending to the mobile devicethe one or more representational state transfer services to be used bythe mobile device to apply the dynamic content to the placeholder of thestored template in cooperation with the server in order to provide apersonalized template for generating a customized graphical userinterface; and storing, in cases where a logout is required each time,the personalized template in a volatile memory of the mobile devicewithout storing the personalized template in a non-volatile memory ofthe mobile device.
 15. The system of claim 14, wherein the local contentis selected from one or more of (a) HTML; (b) CSS; (c) JavaScript; and(d) any combination thereof.
 16. The system of claim 14, wherein thetemplate supports personalization based on geo-location.
 17. The systemof claim 14, wherein the template is sent to the mobile device in one ormore of: (a) a mobile app; (b) a web browser; and (c) a combinationthereof.
 18. The system of claim 14, wherein the dynamic content isbased at least in part upon input from a user.
 19. The system of claim14, wherein the dynamic content is based at least in part upon inputfrom a component of the mobile device.
 20. The system of claim 19,wherein the component of the mobile device comprises a GPS receiver.